<?php
session_start ();
if (@! $_SESSION ["name"])
	exit ( "非法操作" );
$id = $_GET ["id"];
require_once 'include/conn.php';
require_once 'include/Tool.class.php';
$tool = new Tool ();
$sql = "delete from member where id=" . $id;
$result = mysql_query ( $sql );
$res = $tool->updateGroupStateByMemberId ( $id );
if ($result && $res) {
	echo "修改成功";
} else {
}
?>